package com.healthcloud.entity;

import java.math.BigDecimal;
import java.util.Date;

import org.joda.time.DateTime;

import com.healthcloud.query.CriteriaCondition;
import com.healthcloud.query.RelationalOp;
import com.healthcloud.search.Criteria;

/**
 * 用于检验结果的查询条件
 * @author ZhengL
 * 2015-07-01
 */
public class TestResultCriteria implements Criteria{

	@CriteriaCondition(relationalOp = RelationalOp.EQ,name = "id")
	private BigDecimal testId;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private String idCard;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private String mkMedicalInstrumentId;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private String testItemCode;
	@CriteriaCondition(relationalOp = RelationalOp.LIKE)
	private String testItemName;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private String testKindCode;
	@CriteriaCondition(relationalOp = RelationalOp.LIKE)
	private String testKindName;
	@CriteriaCondition(relationalOp = RelationalOp.NOT_LT, name = "testTime")
	private Date testTimeFrom;
	@CriteriaCondition(relationalOp = RelationalOp.NOT_GT, name = "testTime")
	private Date testTimeTo;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private Integer testFrom;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private Integer fromId;
	
	public BigDecimal getTestId() {
		return testId;
	}
	public void setTestId(BigDecimal testId) {
		this.testId = testId;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getMkMedicalInstrumentId() {
		return mkMedicalInstrumentId;
	}
	public void setMkMedicalInstrumentId(String mkMedicalInstrumentId) {
		this.mkMedicalInstrumentId = mkMedicalInstrumentId;
	}
	public String getTestItemCode() {
		return testItemCode;
	}
	public void setTestItemCode(String testItemCode) {
		this.testItemCode = testItemCode;
	}
	public String getTestItemName() {
		return testItemName;
	}
	public void setTestItemName(String testItemName) {
		this.testItemName = testItemName;
	}
	public String getTestKindCode() {
		return testKindCode;
	}
	public void setTestKindCode(String testKindCode) {
		this.testKindCode = testKindCode;
	}
	public String getTestKindName() {
		return testKindName;
	}
	public void setTestKindName(String testKindName) {
		this.testKindName = testKindName;
	}
	public Integer getTestFrom() {
		return testFrom;
	}
	public void setTestFrom(Integer testFrom) {
		this.testFrom = testFrom;
	}
	public Integer getFromId() {
		return fromId;
	}
	public void setFromId(Integer fromId) {
		this.fromId = fromId;
	}

	public Date getTestTimeFrom() {
		return testTimeFrom;
	}

	public void setTestTimeFrom(Date testTimeFrom) {
		this.testTimeFrom = testTimeFrom;
	}

	public Date getTestTimeTo() {
		return testTimeTo;
	}

	public void setTestTimeTo(Date testTimeTo) {
		this.testTimeTo = testTimeTo;
	}
}
